﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="AddEmp.aspx.cs" Inherits="WEB.Emp.AddEmp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    增加员工
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table width="100%">
        <tr>
            <td align="center">
                <table style="width: 400px;" class="distance">
                    <tr>
                        <td align="center" colspan="2">
                            <asp:Label ID="Label8" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="Label1" runat="server" Text="岗位名称:"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                                Height="22px" Width="149px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="Label2" runat="server" Text="岗位编号:"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:Label ID="Label5" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="Label3" runat="server" Text="员工工号:"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="TextBox1" runat="server" onkeyup="if(isNaN(value))execCommand('undo')"
                                onafterpaste="if(isNaN(value))execCommand('undo')" MaxLength="4"></asp:TextBox>
                            <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="查看是否可用" CssClass="Submit_gvbig" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="Label4" runat="server" Text="员工名字:"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="TextBox2" runat="server" MaxLength="10"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="Label6" runat="server" Text="员工密码:"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="TextBox3" runat="server" MaxLength="20" TextMode="Password" 
                                Width="151px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="Label7" runat="server" Text="重复输入密码:"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="TextBox4" runat="server" MaxLength="20" TextMode="Password" 
                                CausesValidation="True" Width="151px"></asp:TextBox>
                            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox3"
                                ControlToValidate="TextBox4" ErrorMessage="密码不一致" ForeColor="Red"></asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            备注:
                        </td>
                        <td align="left">
                            <asp:TextBox ID="TextBox5" runat="server" Height="63px" Width="150px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click1" Text="确定" CssClass="Submit_yellow" /><span
                                style="margin: 0 10px;"></span>
                            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="返回" CssClass="Submit_yellow" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
